﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IList<Complaint.Models.Dtos.Category>>" %>

<%@ Import Namespace="Complaint.Common" %>
<h4>
    Categories</h4>
<ul>
    <%
        foreach (var category in Model)
        {%>
    <li><a href="<%= Url.Content(String.Format("~/Complaint/SearchByCategory/{0}", category.CategoryID)) %>"
        title="<%= category.Title %>">
        <%= category.Title.ToShorter(ConfigHelper.GetConfigValueAsInt("LeftNavMenuWidth"))%></a></li>
    <%  } %>
    <li>
        <%= Html.ActionLink("More ...", "", "Category")%>
    </li>
</ul>
